class A{
    int a = 100;
    public void test(){
        System.out.println();
    }
}

class B extends A{
    char a;
    int b;
    public void func(){
        a = 97;
    }
}

public class TestDemo {
    public static void main(String[] args) {
        B b = new B();
        b.func();
        System.out.println(b.a);
        A a = new A();
        System.out.println(a.a);
    }
}
